<%@ page import="br.com.zanictech.grails.broker.Servidor" %>



<div class="fieldcontain ${hasErrors(bean: servidorInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="servidor.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${servidorInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: servidorInstance, field: 'executando', 'error')} ">
	<label for="executando">
		<g:message code="servidor.executando.label" default="Executando" />
		
	</label>
	<g:checkBox name="executando" value="${servidorInstance?.executando}" />
</div>

<div class="fieldcontain ${hasErrors(bean: servidorInstance, field: 'ip', 'error')} ">
	<label for="ip">
		<g:message code="servidor.ip.label" default="Ip" />
		
	</label>
	<g:textField name="ip" value="${servidorInstance?.ip}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: servidorInstance, field: 'porta', 'error')} required">
	<label for="porta">
		<g:message code="servidor.porta.label" default="Porta" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="porta" type="number" value="${servidorInstance.porta}" required=""/>
</div>

